import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
    state: {
        lang: 'en'
    },
    mutations: {
        setLangEvent(state, lang) {
            state.lang = lang
            console.log(state.lang)
        }
    },
    actions: {},
    modules: {}
})